﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RentalSystem.Data.EF.Core
{
    public interface IDao1Key<Type, Key>
    {
        Type Add(Type entity);
        Type Get(Key id);
        void Delete(Key id);
        void Delete(Type entity);
        void Update(Type entity, uint fields);
        List<Type> List();
    }
}
